/*
 * @author boss archetype
 * <p>
 * 枚举定义
 */
package com.hopes.bizz.line.constant.enums;

import com.hopes.bizz.line.api.feign.RemoteParkLineDictService;
import com.hopes.boss.admin.api.resolver.EnumResolver;
import com.hopes.boss.admin.api.resolver.IDict;

/**
 * @author mengran.yu
 */

public enum ParkLineModDictEnum implements EnumResolver<RemoteParkLineDictService> {

	/**
	 * 管线
	 */
	line_pipe_line("listLinePipeLineListAsDict"),

	/**
	 * 管段
	 */
	line_pipe("listLinePipeListAsDict"),

	;


	private final String methodName;

	private Class<? extends IDict> remoteClass = RemoteParkLineDictService.class;

	ParkLineModDictEnum(String methodName) {
		this.methodName = methodName;
	}

	ParkLineModDictEnum(String methodName, Class<? extends IDict> remoteClass) {
		this.methodName = methodName;
		this.remoteClass = remoteClass;
	}

	@Override
	public String getType() {
		return this.name();
	}

	@Override
	public String getMethodName() {
		return methodName;
	}

	@Override
	public Class<? extends IDict> getRemoteClass() {
		return remoteClass;
	}
}
